package Level01.Five;

public class Test {
    public static void main(String[] args) {
        Student s = new Student();
        try{
            s.setAge(1);
            s.setSex("男");
        }catch (AgeException e){
            e.printStackTrace();
        }catch (SexException e){
            e.printStackTrace();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
